const diff=require('jest-diff');

const a={a:{b:{c:5}}};
const b={a:{b:{c:6}}};

console.log(diff(a,b));